#include "simplewindow.h"
#include "ui_simplewindow.h"

#include <QGraphicsEffect>

SimpleWindow::SimpleWindow(QWidget *parent) :
    FramelessWidget(parent),
    ui(new Ui::SimpleWindow)
{
    ui->setupUi(this);
    setupUi(ui->frame);
    ui->frame->layout()->setContentsMargins(12, 0, 12, 12);

    setTitleIcon(":/frameless/qrc/icon_list.png");
    setTitleText(windowTitle());
}

SimpleWindow::~SimpleWindow()
{
    delete ui;
}
